class Solution {
public:
    vector<int> twoSum(vector<int>& numbers, int target) 
    {
        vector<int> res;

        for(long i = 0; i < numbers.size() - 1; i ++)
        {
            for(long j = i + 1; j < numbers.size(); j++)
            {
                if(numbers[i] + numbers[j] == target)
                {
                    res.push_back(i + 1);
                    res.push_back(j + 1);
                    break;
                }
            }
        }
        return res;

    }
};

// find two numbers with a definite value for the target